package com.kuzan.autocloud.common.repository.organization;

import com.kuzan.autocloud.common.model.organization.Person;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * <p>Description: </p>
 *
 * @author kuzank
 */
@Repository
public interface PersonRepository extends JpaRepository<Person, String> {

    Optional<Person> findByUsername(String username);
}
